<!doctype html>
<html lang="zh-cn" xmlns:th="http://java.sun.com/jsf/html">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<span style="color: #ff0000;" th:text="${error}"></span>
<form action="/login" method="post">
    username:<input type="text" name="username"/>
    <br>
    password:<input type="password" name="password">
    <br>
    <input type="submit" value="submit">
</form>
</body>
</html>